Adding some more judges, here and there.
[and.git] / lib / Mi manual de algoritmos / version_actual / src / number_theory / divisores.cpp
blobd2cbe11ed566b0ad0446c29400dee1716285aaa9
1 for (int i=1; i*i<=n; i++) {
2 if (n%i == 0) {
3 cout << i << endl;
4 if (i*i<n) cout << (n/i) << endl;